﻿// Sheego.Service.X400
// Copyright(C) 2015 Schwab Versand GmbH
//
// This source file is subject to the Microsoft Public License(Ms-PL).
// http://www.opensource.org/licenses/ms-pl.html
// All other rights reserved.
using Sheego.Service.X400.Job.Shared;
using Sheego.Service.X400.Job.Shared.Locator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sheego.Service.X400.Job.Impl
{
    class UAFICommandFactory : IUAFICommandFactory
    {
        #region IUAFICommandFactory Members

        public Shared.BO.IUAFICommand CreateFetchAllCommand()
        {
            var Command = JobLocator.GetCommand();
            // FETCH : <filter> [“delete”] [path] 
            Command.CommandLine = String.Format("FETCH : all");
            return Command;
        }

        #endregion
    }
}
